<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<html>
<head>
    <title>学生端-签到成功</title>
    <jsp:include page="../../header.jsp"></jsp:include>
</head>
<body>
<div class="container">
    <hr>
    <div class="row">
        <div class="col-xs-2 col-md-3">
            <nav aria-label="...">
                <ul class="pager">
                    <li class="previous"><a href="${pageContext.request.contextPath}/student/queryTaskServlet?cid=${sessionScope.cid}"><span aria-hidden="true">&larr;</span>返回</a></li>
                </ul>
            </nav>
        </div>
        <div class="col-xs-8 col-md-6">
            <div class="panel panel-primary">
                <div class="panel-heading">
                    <h3 class="panel-title">${requestScope.attendanceTask.tname}</h3>
                    <p>发布于：<fmt:formatDate value="${requestScope.attendanceTask.release_time}" pattern="yyyy-MM-dd hh:mm:ss"/></p>
                </div>
                <div class="panel-body col-md-6">
                    <img src="${pageContext.request.contextPath}/res/img/right.png"><strong>签到成功！</strong>
                    <p>签到时间：<fmt:formatDate value="${requestScope.attendanceInfo.sign_in_time}" pattern="yyyy-MM-dd hh:mm:ss"/><br></p>
                </div>
            </div>
        </div>
    </div>
</div>
<jsp:include page="../../footer.jsp"></jsp:include>
</body>
</html>
